#ifndef CHANGEINFORMATION_H
#define CHANGEINFORMATION_H

#include <QDialog>
#include <QTcpSocket>

namespace Ui {
class changeinformation;
}

class changeinformation : public QDialog
{
    Q_OBJECT

public:
    explicit changeinformation(QWidget *parent = nullptr);
    explicit changeinformation(QString&selfname,QString&selfaccount,QString&selfpic,QString&selfsig);
    ~changeinformation();

public slots:
    void slotConnected();
    void slotDisconnected();
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
 //   void onReadyRead();


private slots:
    void on_toolButton_clicked();

    void on_toolButton_2_clicked();

    void on_toolButton_3_clicked();

    void on_toolButton_4_clicked();

    void on_toolButton_5_clicked();

    void on_toolButton_6_clicked();

    void on_toolButton_7_clicked();

    void on_toolButton_8_clicked();

    void on_toolButton_10_clicked();

    void on_toolButton_9_clicked();

private:
    Ui::changeinformation *ui;
    QString picpath;
    QTcpSocket *tcpSocket;
    QPoint windowPos;
    QPoint mousePos;
    QPoint dPos;
};

#endif // CHANGEINFORMATION_H
